Repository navigation
feat(app): team settings sidebar with search and one page per setting - #3820
jordan-simonovski wants to merge 2 commits into
Conversation
Team settings moves from six tabs to a grouped sidebar with a search box that also finds individual settings, such as "Parallelize queries when possible", and jumps to them. API keys and organization API keys share one page, with links to the API and Terraform docs. Old ?tab= and section links redirect to the new pages, and spotlight and onboarding point at them.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 1f26823 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🔴 Tier 4 — CriticalTouches authentication, tenancy data models, the public API or shipped database config — or substantially changes the query rendering engine, background tasks, the OTel pipeline, image build, or release CI. Why this tier:
Review process: Deep review from a domain expert. Synchronous walkthrough may be required. Stats
|
Duplicate code analysisNo new duplicate code introduced by this PR. jscpd compared this branch against |
PR Review
3 finding(s): 🔴 0 P0/P1 · 🟡 1 P2 · 🔵 2 P3 None could be anchored to changed lines; they are listed below. 2 P3 folded at the bottom. Findings outside the changed lines
🔵 2 P3 — no action needed before merge
Priority comes from a separate grading pass over the finished review. P3 is folded here instead of posted inline. No finding blocks merge automatically; a maintainer decides. |
Deep ReviewTeam settings is refactored from six Mantine ✅ No critical issues found. 🟡 P2 — recommended
🔵 P3 nitpicks (8)
Reviewers (9): correctness, testing, maintainability, project-standards, kieran-typescript, julik-frontend-races, adversarial, agent-native, learnings-researcher. Testing gaps:
No finding blocks merge automatically. A maintainer will expect P0/P1 findings in code this PR changes to be fixed; P2/P3 are your call -- fix or reply. Never fix findings about surrounding code here; reply instead. Do not widen the PR. How to respond |
E2E Test Results✅ All tests passed • 478 passed • 1 skipped • 1114s
Tests ran across 4 shards in parallel. |
Summary
Team settings moves from six tabs to a grouped sidebar (Data, Team, Alerting, Developer) with one page per setting. The search box also finds settings inside a page, so typing "parallelize" opens Query settings, scrolls to "Parallelize queries when possible" and highlights it.
Breaking changes
None. Old
?tab=values and section anchors redirect to the matching page, so?tab=api-agents#team-api-agents-mcp-serveropens AI agents and/team#sourcesopens Sources.#source-<id>links still open their source. Spotlight and onboarding links point at the new pages.Key decisions
Screenshots or video
How to reproduce
Starting point:
yarn dev. Team settings doesn't render in local mode, so play.hyperdx.io and the Vercel preview can't show it.On
main:On this branch:
/team?tab=api-agents#team-api-agents-mcp-server: it redirects to?tab=mcp(AI agents).How to test on Vercel preview
N/A. Team settings doesn't render in local mode, which the preview runs.
Implementation detail
settingsPages.tsxis the single list of pages and their searchable settings. The sidebar, spotlight andresolveSettingsPage(legacy?tab=and anchor mapping) all read from it.activeflag for lazy fetching is gone.useScrollToSettingwaits for the field to render once the team has loaded, then scrolls to it and highlights it. Reduced-motion users get an outline instead of the fade.team.spec.tse2e suite (13 passing) covers navigation, search, jump-to-setting and the legacy redirect.